
cko_quest_hint_data = {}

function cko_quest_guide()
  local f = UnitFactionGroup("player")
  local x = GetQuestLogSelection()
  local t = GetQuestLogTitle(x)
  local h = cko_quest_hint_data[f][t]
  local n = '['..f..': '..t..']'
  if h then
    cko_print("Hint for "..n..": "..h)
  else
    cko_print("No hints available for "..n)
  end
end

function cko_quest_macro()
  cko_macro_create('Quest Hint','/script cko_quest_hint()')
end
